﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Network_Toolbox.src
{
    class Port
    {
        private String nom;
        private String equipement_voisin;

        public Port(String nom, String equipement_voisin)
        {
            this.nom = nom;
            this.equipement_voisin = equipement_voisin;
        }

        public String getNom()
        {
            return this.nom;
        }

        public String getEquipement_voisin()
        {
            return this.equipement_voisin;
        }

        public String ToString()
        {
            return (this.getNom() + " : " + this.getEquipement_voisin());
        }
    }

    
}
